#!/bin/sh

# do not disable networking if we have a pre-existing, old config
if [ -e /etc/mysql/my.cnf ] && [ -e /etc/my.cnf.d/mariadb-server.cnf ]; then
	sed -i -e 's/^skip-networking/#skip-networking/' /etc/my.cnf.d/mariadb-server.cnf
fi

